package com.googlecode.javacpp.mockimpls;

import com.googlecode.javacpp.*;
import com.googlecode.javacpp.annotation.*;

/**
 * Modified improving performance example to return a value we can verify
 * 
 * @author Dean Kooiman
 */
@Platform(include="ProcessorImpl.h")
public class ProcessorImpl {
    public static native @StdString String process(java.nio.Buffer buffer, int size);
    
    public final String loadAndProcess() {
    	Loader.load(ProcessorImpl.class);
    	return process(null, 0);
    }
}